package com.zhengtoon.mctoon.conv.service;


import com.zhengtoon.mctoon.conv.bean.session.OrgSessionInfo;

/**
 * PC端 session 服务
 *
 * @author liuzhenhua
 * @since 2017-07-17
 */
public interface IOrgSessionService {

    /**
     * PC端,获取PC端会话信息
     *
     * @param sessionId 会话id,无前缀
     * @return OrgSessionInfo
     * @author 144637
     */
    OrgSessionInfo getOrgSessionInfo(String sessionId);

    /**
     * PC端 根据userToken获取sessionId
     *
     * @param userToken 用户令牌
     * @return String
     * @author 144637
     */
    String getSessionByUserToken(String userToken);

}
